Optimal. Leaf size=70 \[ \frac{\left (a e^2+c d^2\right ) (d+e x)^{m+1}}{e^3 (m+1)}-\frac{2 c d (d+e x)^{m+2}}{e^3 (m+2)}+\frac{c (d+e x)^{m+3}}{e^3 (m+3)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0878331, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{\left (a e^2+c d^2\right ) (d+e x)^{m+1}}{e^3 (m+1)}-\frac{2 c d (d+e x)^{m+2}}{e^3 (m+2)}+\frac{c (d+e x)^{m+3}}{e^3 (m+3)} \]
Antiderivative was successfully verified.
[In] Int[(d + e*x)^m*(a + c*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 16.7234, size = 61, normalized size = 0.87 \[ - \frac{2 c d \left (d + e x\right )^{m + 2}}{e^{3} \left (m + 2\right )} + \frac{c \left (d + e x\right )^{m + 3}}{e^{3} \left (m + 3\right )} + \frac{\left (d + e x\right )^{m + 1} \left (a e^{2} + c d^{2}\right )}{e^{3} \left (m + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x+d)**m*(c*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0658794, size = 73, normalized size = 1.04 \[ \frac{(d+e x)^{m+1} \left (a e^2 \left (m^2+5 m+6\right )+c \left (2 d^2-2 d e (m+1) x+e^2 \left (m^2+3 m+2\right ) x^2\right )\right )}{e^3 (m+1) (m+2) (m+3)} \]
Antiderivative was successfully verified.
[In] Integrate[(d + e*x)^m*(a + c*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 100, normalized size = 1.4 \[{\frac{ \left ( ex+d \right ) ^{1+m} \left ( c{e}^{2}{m}^{2}{x}^{2}+3\,c{e}^{2}m{x}^{2}+a{e}^{2}{m}^{2}-2\,cdemx+2\,c{e}^{2}{x}^{2}+5\,a{e}^{2}m-2\,cdex+6\,a{e}^{2}+2\,c{d}^{2} \right ) }{{e}^{3} \left ({m}^{3}+6\,{m}^{2}+11\,m+6 \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x+d)^m*(c*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + a)*(e*x + d)^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.240606, size = 201, normalized size = 2.87 \[ \frac{{\left (a d e^{2} m^{2} + 5 \, a d e^{2} m + 2 \, c d^{3} + 6 \, a d e^{2} +{\left (c e^{3} m^{2} + 3 \, c e^{3} m + 2 \, c e^{3}\right )} x^{3} +{\left (c d e^{2} m^{2} + c d e^{2} m\right )} x^{2} +{\left (a e^{3} m^{2} + 6 \, a e^{3} -{\left (2 \, c d^{2} e - 5 \, a e^{3}\right )} m\right )} x\right )}{\left (e x + d\right )}^{m}}{e^{3} m^{3} + 6 \, e^{3} m^{2} + 11 \, e^{3} m + 6 \, e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + a)*(e*x + d)^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 4.32045, size = 978, normalized size = 13.97 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x+d)**m*(c*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.217643, size = 354, normalized size = 5.06 \[ \frac{c m^{2} x^{3} e^{\left (m{\rm ln}\left (x e + d\right ) + 3\right )} + c d m^{2} x^{2} e^{\left (m{\rm ln}\left (x e + d\right ) + 2\right )} + 3 \, c m x^{3} e^{\left (m{\rm ln}\left (x e + d\right ) + 3\right )} + c d m x^{2} e^{\left (m{\rm ln}\left (x e + d\right ) + 2\right )} - 2 \, c d^{2} m x e^{\left (m{\rm ln}\left (x e + d\right ) + 1\right )} + a m^{2} x e^{\left (m{\rm ln}\left (x e + d\right ) + 3\right )} + 2 \, c x^{3} e^{\left (m{\rm ln}\left (x e + d\right ) + 3\right )} + a d m^{2} e^{\left (m{\rm ln}\left (x e + d\right ) + 2\right )} + 2 \, c d^{3} e^{\left (m{\rm ln}\left (x e + d\right )\right )} + 5 \, a m x e^{\left (m{\rm ln}\left (x e + d\right ) + 3\right )} + 5 \, a d m e^{\left (m{\rm ln}\left (x e + d\right ) + 2\right )} + 6 \, a x e^{\left (m{\rm ln}\left (x e + d\right ) + 3\right )} + 6 \, a d e^{\left (m{\rm ln}\left (x e + d\right ) + 2\right )}}{m^{3} e^{3} + 6 \, m^{2} e^{3} + 11 \, m e^{3} + 6 \, e^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + a)*(e*x + d)^m,x, algorithm="giac")
[Out]